package cn.com.api.service.impl.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_bankcard;

import cn.com.api.mapper.ApiT_bankcardMapper;

import cn.com.api.service.ApiT_bankcardService;

/**
 * 
 **/
@Service
public class T_bankcardServiceImplBase {
	@Autowired
	private ApiT_bankcardMapper apiT_bankcardMapper;
    
    // 根据id获取
	public ApiT_bankcard findT_bankcardById(Integer id){
		ApiT_bankcard t_bankcard = apiT_bankcardMapper.findT_bankcardById( id );
		return t_bankcard;
	}
    
    //查看数据集
	public List<ApiT_bankcard> findT_bankcards(){
        List<ApiT_bankcard> t_bankcards = apiT_bankcardMapper.findT_bankcards();
		return t_bankcards;
    }
    
	// 添加
	public int insertT_bankcard(ApiT_bankcard t_bankcard){
		int ret_I= apiT_bankcardMapper.insertT_bankcard(t_bankcard);
		return ret_I;
	}

	// 修改
	public int updateT_bankcard(ApiT_bankcard t_bankcard){
		int ret_I= apiT_bankcardMapper.updateT_bankcard(t_bankcard);
		return ret_I;
	}
	
    // 删除
	public int deleteT_bankcard(Integer id){
		int ret_I= apiT_bankcardMapper.deleteT_bankcard( id );
		return ret_I;
	}
	
    // Foreign keys revelant		
		

	//region Indexs revelant
    
    
    
    
}


